﻿using System;
using System.Collections.Generic;
using System.Text;

namespace JESAI.Redis.Abstracts.Commands
{
    public interface IRedisCommandArg
    {
        /// <summary>
        /// 命令
        /// </summary>
        public string Cmd { get; }

        /// <summary>
        /// 操作的key
        /// </summary>
        public string Key { get; }
        /// <summary>
        /// 参数
        /// </summary>
        public object[] Args { get; }

        /// <summary>
        /// 长度
        /// </summary>
        public int Length { get; }
    }
}
